<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundleCliente.ViewClienteTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundleCliente.ViewClienteLabel_idCliente}"/>
                    <h:outputText value="#{clienteController.selected.idCliente}" title="#{bundleCliente.ViewClienteTitle_idCliente}"/>
                    <h:outputText value="#{bundleCliente.ViewClienteLabel_pontos}"/>
                    <h:outputText value="#{clienteController.selected.pontos}" title="#{bundleCliente.ViewClienteTitle_pontos}"/>
                    <h:outputText value="#{bundleCliente.ViewClienteLabel_cpf}"/>
                    <h:outputText value="#{clienteController.selected.cpf}" title="#{bundleCliente.ViewClienteTitle_cpf}"/>
                    <h:outputText value="#{bundleCliente.ViewClienteLabel_rg}"/>
                    <h:outputText value="#{clienteController.selected.rg}" title="#{bundleCliente.ViewClienteTitle_rg}"/>
                    <h:outputText value="#{bundleCliente.ViewClienteLabel_email}"/>
                    <h:outputText value="#{clienteController.selected.email}" title="#{bundleCliente.ViewClienteTitle_email}"/>
                    <h:outputText value="#{bundleCliente.ViewClienteLabel_nome}"/>
                    <h:outputText value="#{clienteController.selected.nome}" title="#{bundleCliente.ViewClienteTitle_nome}"/>
                    <h:outputText value="#{bundleCliente.ViewClienteLabel_telefone}"/>
                    <h:outputText value="#{clienteController.selected.telefone}" title="#{bundleCliente.ViewClienteTitle_telefone}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{clienteController.destroyAndView}" value="#{bundleCliente.ViewClienteDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundleCliente.ViewClienteEditLink}"/>
                <br />
                <h:commandLink action="#{clienteController.prepareCreate}" value="#{bundleCliente.ViewClienteCreateLink}" />
                <br />
                <h:commandLink action="#{clienteController.prepareList}" value="#{bundleCliente.ViewClienteShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundleCliente.ViewClienteIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
